/**
 * Copyright &copy; 2019-2022 <a href="https://gitee.com/rit/zx-pm">zx-pm</a> All rights reserved.
 */
package com.zx.pm.modules.zx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zx.pm.common.persistence.CrudDao;
import com.zx.pm.common.persistence.annotation.MyBatisDao;
import com.zx.pm.modules.zx.entity.Lzd;
import com.zx.pm.modules.zx.entity.ProTimeNode;

/**
 * 项目流转单DAO接口
 * @author forest
 * @version 2019-01-06
 */
@MyBatisDao
public interface LzdDao extends CrudDao<Lzd> {
	
	public List<String> getBuyUnitList();
	
	public Lzd getByBuyUnit(Lzd lzd);
	
	public int updateLzdStaut(@Param("lzdStatus")String lzdStatus, @Param("lzdId")String lzdId);
	
	List<Lzd> getNotAuditLzd();
	
	List<ProTimeNode> getBidSecurityDateLzd();
	
	List<ProTimeNode> getTenderSaleDateLzd();
	
	List<ProTimeNode> getTenderOpenDateLzd();
	
	List<Lzd> getTimeLimitLzd();
	
	public List<Lzd> findSectionList(Lzd entity);
	
	List<Lzd> getInvalidLzd();
	
	Double getDepositMoney(@Param("lzdId")String lzdId, @Param("sectionId")String sectionId);
	
	void updateTrashPro(Lzd lzd);
	
	void updateSectionTrashPro(Lzd lzd);
	
	Integer getRestartCount(Lzd lzd);
	
}